<template>
  <div>
    <h2>NewsDetail</h2>
    <p>{{name}}新闻</p>
  </div>
</template>


<script>
export default {
  name:"NewsDetail",
  computed:{
    name(){
      return this.$route.query.name
    }
  }
}
</script>


<style></style>